home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / gdb / gdb_18s.zoo / fake / lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-28  |  1.3 KB  |  50 lines

  1. /*
  2.  * library-specific stuff
  3.  */
  4. #ifndef _LIB_H
  5. #define _LIB_H
  6.  
  7. #ifndef _COMPILER_H
  8. #include <compiler.h>
  9. #endif
  10.  
  11. #include <time.h>    /* for time_t */
  12.  
  13. /* filename mapping function type */
  14. #ifndef __FNMAP
  15. #define __FNMAP
  16. #ifdef __STDC__
  17. typedef void (*fnmapfunc_t)(const char *, char *);
  18. #else
  19. typedef void (*fnmapfunc_t)();
  20. #endif
  21. #endif
  22.  
  23. int    _unx2dos __PROTO((const char *, char *));
  24. int    _dos2unx __PROTO((const char *, char *));
  25. int    unx2dos __PROTO((const char *, char *));
  26. int    dos2unx __PROTO((const char *, char *));
  27. int    spawnve __PROTO((int, char *, char **, char **));
  28. int    console_input_status __PROTO((int));
  29. unsigned int    console_read_byte __PROTO((int));
  30. void        console_write_byte __PROTO((int, int));
  31. int        dos2unx __PROTO((const char *, char *));
  32. time_t        dostime __PROTO((time_t));
  33. char *        findfile __PROTO((char *, char *, char **));
  34. char *        _itoa __PROTO((int, char *, int));
  35. char *        _ltoa __PROTO((long, char *, int));
  36. char *        _ultoa __PROTO((unsigned long, char *, int));
  37. time_t        unixtime __PROTO((unsigned int, unsigned int));
  38. int        unx2dos __PROTO((const char *, char *));
  39. void        fnmapfunc __PROTO((fnmapfunc_t u2dos, fnmapfunc_t dos2u));
  40. long        get_sysvar __PROTO((void *var));
  41. void        set_sysvar_to_long __PROTO((void *var, long val));
  42.  
  43. __EXTERN __EXITING __exit __PROTO((long status));
  44. __EXTERN char *_itoa __PROTO((int, char *, int));
  45.  
  46. #endif /* _LIB_H */
  47.  
  48.  
  49.  
  50.